package org.hawk.gwtppc.webtest.tests.classsuite;

import org.hawk.gwtppc.webtest.common.Asserts;
import org.hawk.gwtppc.webtest.common.Test;
import org.hawk.gwtppc.webtest.tests.mock.AnnotationMock;
import org.hawk.gwtppc.webtest.tests.mock.ClassMock;
import org.hawk.gwtppc.webtest.tests.mock.EnumMock;
import org.hawk.gwtppc.webtest.tests.mock.InterfaceMock;

public class IsInterfaceTest implements Test {

	public void run() throws Throwable {
		Asserts.assertTrue(InterfaceMock.class.isInterface());
		Asserts.assertTrue(AnnotationMock.class.isInterface());
		Asserts.assertFalse(ClassMock.class.isInterface());
		Asserts.assertFalse(EnumMock.class.isInterface());
	}

	public String getName() {
		return "isInterface()";
	}

}
